<script>
	import checkappupdate from './common/wonyes/checkappupdate.js'
	
	export default {		
		onLaunch: function() {
			checkappupdate.check({
			    title:"检测到有新版本！",
			    content:"请升级app到最新版本！",
			    canceltext:"暂不升级",
			    oktext:"立即升级",
			    api:'https://smyl.qingkangqingyang.com/api/miaozhimini/system/update'
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
